const mockData = {
  // 当前登录的用户信息 (用于多角色切换演示)
  currentUser: {
    resident: {
      id: 'user001',
      name: '王**',
      phone: '138****1234',
      avatar: 'https://weui.io/images/avatar/default.jpg',
      properties: [
        { communityId: 'comm001', propertyInfo: '紫金小区 1栋 1单元 101室' },
        { communityId: 'comm002', propertyInfo: '玄武湖小区 3栋 2单元 502室' },
      ],
    },
    propertyAdmin: {
      id: 'admin001',
      name: '李思',
      phone: '18651880897',
      employeeId: '10008801',
      avatar: 'https://weui.io/images/avatar/default.jpg',
      communityId: 'comm001',
      communityName: '紫金小区',
    },
  },

  // 小区列表
  communities: [
    {
      id: 'comm001',
      name: '紫金小区',
      address: '南京市玄武区紫金东路1号',
      propertyCompany: '万科物业',
      bankAccount: '3200159533605250xxxx',
      status: '正常',
    },
    {
      id: 'comm002',
      name: '玄武湖小区',
      address: '南京市玄武区环湖路8号',
      propertyCompany: '保利物业',
      bankAccount: '3200159533605250yyyy',
      status: '正常',
    },
    {
      id: 'comm003',
      name: '雨花客厅',
      address: '南京市雨花台区软件大道101号',
      propertyCompany: '银城物业',
      bankAccount: '3200159533605250zzzz',
      status: '正常',
    },
    {
      id: 'comm004',
      name: '江宁万达广场',
      address: '南京市江宁区竹山路59号',
      propertyCompany: '万达物业',
      bankAccount: '3200159533605250aaaa',
      status: '停用',
    },
    {
      id: 'comm005',
      name: '河西中央公园',
      address: '南京市建邺区江东中路222号',
      propertyCompany: '仁恒物业',
      bankAccount: '3200159533605250bbbb',
      status: '正常',
    },
  ],

  // 资金流水 (comm001: 紫金小区)
  transactions: {
    comm001: [
      {
        id: 'tran001',
        transactionType: '收入',
        amount: '+5,000.00',
        transactionTime: '2024-05-20 10:30:00',
        summary: '物业费',
        otherPartyAccount: '6222021****12345678',
        otherPartyName: '张三',
        remarks: '2024年上半年物业费',
      },
      {
        id: 'tran002',
        transactionType: '支出',
        amount: '-1,200.50',
        transactionTime: '2024-05-19 15:00:00',
        summary: '电梯维保',
        otherPartyAccount: '1021000****98765',
        otherPartyName: '南京通力电梯有限公司',
        remarks: '3号楼电梯季度维保',
      },
      {
        id: 'tran003',
        transactionType: '收入',
        amount: '+800.00',
        transactionTime: '2024-05-18 11:45:00',
        summary: '停车费',
        otherPartyAccount: '6217001****54321098',
        otherPartyName: '李四',
        remarks: '临时停车费',
      },
      {
        id: 'tran004',
        transactionType: '支出',
        amount: '-350.00',
        transactionTime: '2024-05-17 18:20:00',
        summary: '公共区域保洁',
        otherPartyAccount: '43674200****87654',
        otherPartyName: '南京洁邦保洁服务公司',
        remarks: '5月保洁服务费',
      },
      {
        id: 'tran005',
        transactionType: '收入',
        amount: '+2,345.67',
        transactionTime: '2024-05-16 09:00:00',
        summary: '公共广告位收益',
        otherPartyAccount: '3208261****12345',
        otherPartyName: '南京飞翔广告传媒',
        remarks: '东门广告位租赁',
      },
    ],
    comm002: [
      // 玄武湖小区的流水
      {
        id: 'tran006',
        transactionType: '收入',
        amount: '+6,000.00',
        transactionTime: '2024-05-21 09:30:00',
        summary: '物业费',
        otherPartyAccount: '6222021****56781234',
        otherPartyName: '王五',
        remarks: '2024年上半年物业费',
      },
    ],
  },

  // 审核列表
  approvals: [
    {
      id: 'appr001',
      applicantName: '赵**',
      propertyInfo: '紫金小区 2栋 3单元 401室',
      applyTime: '2024-05-21 14:00:00',
      status: '待审核',
      roleType: '业主',
    },
    {
      id: 'appr002',
      applicantName: '孙**',
      propertyInfo: '紫金小区 5栋 1单元 102室',
      applyTime: '2024-05-21 11:30:00',
      status: '待审核',
      roleType: '租户',
    },
    {
      id: 'appr003',
      applicantName: '周**',
      propertyInfo: '紫金小区 1栋 2单元 801室',
      applyTime: '2024-05-20 18:00:00',
      status: '已通过',
      roleType: '业主',
    },
    {
      id: 'appr004',
      applicantName: '吴**',
      propertyInfo: '紫金小区 3栋 1单元 202室',
      applyTime: '2024-05-20 16:25:00',
      status: '已驳回',
      roleType: '业主',
    },
    {
      id: 'appr005',
      applicantName: '郑**',
      propertyInfo: '紫金小区 4栋 1单元 603室',
      applyTime: '2024-05-19 10:10:00',
      status: '已通过',
      roleType: '业主',
    },
  ],

  // 用户管理列表 (物业视角)
  managedUsers: [
    {
      userId: 'user001',
      name: '王**',
      phone: '138****1234',
      propertyInfo: '紫金小区 1栋 1单元 101室',
      roleType: '业主',
    },
    {
      userId: 'user003',
      name: '周**',
      phone: '139****5678',
      propertyInfo: '紫金小区 1栋 2单元 801室',
      roleType: '业主',
    },
    {
      userId: 'user005',
      name: '郑**',
      phone: '137****8901',
      propertyInfo: '紫金小区 4栋 1单元 603室',
      roleType: '物业人员',
    },
    {
      userId: 'user006',
      name: '冯**',
      phone: '159****4321',
      propertyInfo: '紫金小区 5栋 1单元 102室',
      roleType: '租户',
    },
    {
      userId: 'user007',
      name: '陈**',
      phone: '158****6789',
      propertyInfo: '紫金小区 2栋 3单元 401室',
      roleType: '业主',
    },
  ],

  // 监管账户列表 (PC)
  bankAccounts: [
    {
      accountId: 'acc001',
      communityName: '紫金小区',
      accountNumber: '3200159533605250xxxx',
      bankName: '中国邮政储蓄银行南京分行',
      status: '正常',
      hasQrcode: true,
    },
    {
      accountId: 'acc002',
      communityName: '玄武湖小区',
      accountNumber: '3200159533605250yyyy',
      bankName: '中国邮政储蓄银行玄武支行',
      status: '正常',
      hasQrcode: false,
    },
    {
      accountId: 'acc003',
      communityName: '雨花客厅',
      accountNumber: '3200159533605250zzzz',
      bankName: '中国邮政储蓄银行雨花台支行',
      status: '正常',
      hasQrcode: true,
    },
    {
      accountId: 'acc004',
      communityName: '江宁万达广场',
      accountNumber: '3200159533605250aaaa',
      bankName: '中国邮政储蓄银行江宁支行',
      status: '停用',
      hasQrcode: false,
    },
    {
      accountId: 'acc005',
      communityName: '河西中央公园',
      accountNumber: '3200159533605250bbbb',
      bankName: '中国邮政储蓄银行河西支行',
      status: '正常',
      hasQrcode: true,
    },
  ],

  // 物业管理员列表 (PC)
  propertyAdmins: [
    {
      adminId: 'admin001',
      name: '李思',
      phone: '18651880897',
      communityName: '紫金小区',
      status: '正常',
    },
    {
      adminId: 'admin002',
      name: '张伟',
      phone: '13913913913',
      communityName: '玄武湖小区',
      status: '正常',
    },
    {
      adminId: 'admin003',
      name: '王芳',
      phone: '13813813813',
      communityName: '雨花客厅',
      status: '正常',
    },
    {
      adminId: 'admin004',
      name: '刘强',
      phone: '13713713713',
      communityName: '江宁万达广场',
      status: '停用',
    },
    {
      adminId: 'admin005',
      name: '陈静',
      phone: '13613613613',
      communityName: '河西中央公园',
      status: '正常',
    },
    {
      adminId: 'admin006',
      name: '赵磊',
      phone: '13513513513',
      communityName: '紫金小区',
      status: '正常',
    },
  ],

  // 审核中心列表 (PC)
  pcApprovals: [
    {
      approvalId: 'pcappr001',
      type: '物业管理员新增',
      summary: '导入 5 个物业管理员',
      applicant: '运营张三',
      applyTime: '2024-05-20 09:00:00',
      status: '待审核',
    },
    {
      approvalId: 'pcappr002',
      type: '监管账户新增',
      summary: '为雨花客厅批量导入 3 个监管账户',
      applicant: '运营李四',
      applyTime: '2024-05-19 16:30:00',
      status: '待审核',
    },
    {
      approvalId: 'pcappr003',
      type: '物业管理员修改',
      summary: '修改河西中央公园管理员手机号',
      applicant: '运营王五',
      applyTime: '2024-05-18 11:00:00',
      status: '已通过',
    },
    {
      approvalId: 'pcappr004',
      type: '小区信息修改',
      summary: '修改紫金小区物业公司为"阳光物业"',
      applicant: '运营张三',
      applyTime: '2024-05-17 14:20:00',
      status: '已驳回',
    },
    {
      approvalId: 'pcappr005',
      type: '账户删除',
      summary: '删除江宁万达广场的一个无效账户',
      applicant: '运营李四',
      applyTime: '2024-05-16 10:00:00',
      status: '已通过',
    },
  ],
}
